package com.book.bookmanager.service;

import com.book.bookmanager.pojo.Book;
import com.book.bookmanager.pojo.User;

import java.util.List;

public interface userService {
    //查询所有
    public List<User> queryAll();

    //添加数据
    public int add(User user);

    //根据用户名查询
    public User queryByUser(String user);
}
